<@page.html title="客诉综合查询">
<script type="text/javascript" src="${_appPath!}/js/cal.js"></script>
  <div class="search">
    <form id="fm_query" action="_list">
      <dl>
        <dt>门店</dt>
        <dd><script>shopsel('shopCode');</script></dd>
        <dt>类型</dt>
        <dd><select name="type"><option value="">全部</option><#if complaintType??><#list complaintType as t><option value="${t.id}">${t.name}</option></#list></#if></select></dd>
        <dt>状态</dt>
        <dd><select name="status"><option value="">全部</option><#if complaintStatus??><#list complaintStatus as t><option value="${t.id}">${t.name}</option></#list></#if></select></dd>
        <dt>提交时间</dt>
        <dd><input type="text" class="date" name="dateFrom" value="" onfocus="cal(this);" />
          ~ <input type="text" class="date" name="dateTo" value="" onfocus="cal(this);" /></dd>
      </dl>
      <dl>
        <dt>标题</dt>
        <dd><input type="text" name="title" value=""></dd>
        <dt>处理分类</dt>
        <dd><select name="procType"><option value="">全部</option><#if complaintProcType??><#list complaintProcType as t><option value="${t.id}">${t.name}</option></#list></#if></select></dd>
        <dt>会员姓名</dt>
        <dd><input type="text" name="name" value="" size="12"></dd>
        <dt>滞留</dt>
        <dd><select name="stopDay"><option value="">全部</option><option value="3,5">3天</option><option value="5,7">5天</option><option value="7,8">7天</option><option value="8,-">7天以上</option></select></dd>
        <dd class="button"><input type="button" value="查询" onclick="query();"></dd>
        <#if canExpt??><dd class="button"><input type="button" value="导出" onclick="expt();"></dd></#if>
        <!--dd class="oper"><#if canAdd??><a class="add" href="javascript:open('add');">新增</a></#if></dd-->
      </dl>
    </form>
  </div>
  <div id="div_list"></div>
<script type="text/javascript">query();</script>
</@page.html>